const employees = [
  // {
  //   id: '001',
  //   name: '张三',
  // },
  // {
  //   id: '002',
  //   name: '李四',
  // },
];

export default {
  'GET /api/employees': (_, response) => {
    response.send(employees);
  },
  'GET /api/employee/:id': (req, response) => {
    debugger;
    const params = req.params;
    response.send(employees.filter((e) => e.id === params[0]))
    // response.send(employees.filter((e) => e.id === '001'));
  },
};
